10l fix by (Bohdan Horst <nexus at irc dot pl>)

Originally committed as revision 3227 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-06-17 10:46:08 +00:00
parent 13b4c18eb8
commit 4904d6c2d3

View File

@ -619,7 +619,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt)
unsigned char tag[5];
unsigned int flags=0;
const int stream_index= pkt->stream_index;
AVCodecContext *enc= &s->streams[stream_index]->codec;;
AVCodecContext *enc= &s->streams[stream_index]->codec;
int size= pkt->size;
// av_log(s, AV_LOG_DEBUG, "%lld %d %d\n", pkt->dts, avi->packet_count[stream_index], stream_index);