[FFmpeg-devel] [PATCH] libavformat/webm_chunk: Write first audio packet.
Vignesh Venkatasubramanian
vigneshv at google.com
Mon Apr 27 23:47:03 CEST 2015
Fix a bug where the chunk muxer doesn't write the very first audio
packet (with pts == 0).
Signed-off-by: Vignesh Venkatasubramanian <vigneshv at google.com>
---
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;
--
2.2.0.rc0.207.ga3a616c
More information about the ffmpeg-devel
mailing list