ffmpeg | branch: master | Vignesh Venkatasubramanian <vigne...@google.com> | Mon Apr 27 14:47:03 2015 -0700| [8ca170a78ab6e50f44d27d8a6b4ad7ba1ed81f0c] | committer: Michael Niedermayer
libavformat/webm_chunk: Write first audio packet. Fix a bug where the chunk muxer doesn't write the very first audio packet (with pts == 0). Signed-off-by: Vignesh Venkatasubramanian <vigne...@google.com> Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8ca170a78ab6e50f44d27d8a6b4ad7ba1ed81f0c --- libavformat/webm_chunk.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c index 48ea6f0..6d3d5d6 100644 --- a/libavformat/webm_chunk.c +++ b/libavformat/webm_chunk.c @@ -201,9 +201,6 @@ static int webm_chunk_write_packet(AVFormatContext *s, AVPacket *pkt) } } - if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && pkt->pts == 0) { - goto fail; - } ret = oc->oformat->write_packet(oc, pkt); if (ret < 0) goto fail; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog