diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-04 12:17:43 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-08 20:16:13 +0200 |
commit | cc2133b66abb3fe3dbb4feebe7cc9ceae3f8ec64 (patch) | |
tree | 893982a5850152360b854c7381beaea14088ae33 | |
parent | 8391602913fff177b2f7ba850f5767eec9f33784 (diff) | |
download | ffmpeg-cc2133b66abb3fe3dbb4feebe7cc9ceae3f8ec64.tar.gz |
avconv: get rid of pointless temporary variable.
-rw-r--r-- | avconv.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -2139,7 +2139,6 @@ static int transcode(void) while (!received_sigterm) { InputFile *ifile; - int ist_index; AVPacket pkt; /* check if there's any stream where output is still needed */ @@ -2198,8 +2197,8 @@ static int transcode(void) dynamically in stream : we ignore them */ if (pkt.stream_index >= ifile->nb_streams) goto discard_packet; - ist_index = ifile->ist_index + pkt.stream_index; - ist = input_streams[ist_index]; + + ist = input_streams[ifile->ist_index + pkt.stream_index]; if (ist->discard) goto discard_packet; |