Commit 3773e5fc authored by Aurelien Jacobs's avatar Aurelien Jacobs

remove 2 temporary variables

Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9853ce80
......@@ -143,7 +143,6 @@ static int process_audio_header_elements(AVFormatContext *s)
*/
static int process_ea_header(AVFormatContext *s) {
uint32_t blockid, size = 0;
int num, den;
EaDemuxContext *ea = s->priv_data;
ByteIOContext *pb = &s->pb;
......@@ -151,9 +150,8 @@ static int process_ea_header(AVFormatContext *s) {
if (blockid == MVhd_TAG) {
size = get_le32(pb);
url_fskip(pb, 16);
den = get_le32(pb);
num = get_le32(pb);
ea->time_base = (AVRational) {num, den};
ea->time_base.den = get_le32(pb);
ea->time_base.num = get_le32(pb);
url_fskip(pb, size-32);
blockid = get_le32(pb);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment