From 3773e5fc1b1912e91a483200cc3e1d746f2e5078 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 18 Oct 2007 21:59:23 +0000 Subject: [PATCH] remove 2 temporary variables Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/electronicarts.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 806793aefd..df69d5a262 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -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); }