[FFmpeg-cvslog] r10788 - trunk/libavformat/electronicarts.c
aurel
subversion
Thu Oct 18 23:59:23 CEST 2007
Author: aurel
Date: Thu Oct 18 23:59:23 2007
New Revision: 10788
Log:
remove 2 temporary variables
Modified:
trunk/libavformat/electronicarts.c
Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c (original)
+++ trunk/libavformat/electronicarts.c Thu Oct 18 23:59:23 2007
@@ -143,7 +143,6 @@ static int process_audio_header_elements
*/
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(AVFormatCon
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);
}
More information about the ffmpeg-cvslog
mailing list