diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-04-01 21:21:12 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-04-01 21:21:12 +0000 |
commit | 16543599cc02b66886b43357701da01b014c24b3 (patch) | |
tree | b6d1a126378b643c4bb6b0bfac0713959b9d1934 /libavformat/avienc.c | |
parent | 29846f484586ad46ac6d8d16b19c5bf22dabf715 (diff) | |
download | ffmpeg-16543599cc02b66886b43357701da01b014c24b3.tar.gz |
fix vorbis in avi
Originally committed as revision 4098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index b47276e9f3..797e670454 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -624,7 +624,7 @@ static int avi_write_packet(AVFormatContext *s, AVPacket *pkt) int size= pkt->size; // av_log(s, AV_LOG_DEBUG, "%lld %d %d\n", pkt->dts, avi->packet_count[stream_index], stream_index); - while(enc->codec_type == CODEC_TYPE_VIDEO && pkt->dts != AV_NOPTS_VALUE && pkt->dts > avi->packet_count[stream_index]){ + while(enc->block_align==0 && pkt->dts != AV_NOPTS_VALUE && pkt->dts > avi->packet_count[stream_index]){ AVPacket empty_packet; av_init_packet(&empty_packet); |