diff options
author | Aurelien Jacobs | 2007-10-18 21:59:23 +0000 |
---|---|---|
committer | Aurelien Jacobs | 2007-10-18 21:59:23 +0000 |
commit | 3773e5fc1b1912e91a483200cc3e1d746f2e5078 (patch) | |
tree | f20677605925be79501ca2a00d652ac2fbc88cb9 /libavformat/electronicarts.c | |
parent | 9853ce8074ac0eefe62e85379552488c43301fe9 (diff) |
remove 2 temporary variables
Originally committed as revision 10788 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 6 |
1 files 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); } |