[FFmpeg-cvslog] flv: Do not export datastream as metadata

Luca Barbato git at videolan.org
Tue Sep 17 11:49:37 CEST 2013


ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Mon Sep 16 18:09:12 2013 +0200| [0a9425d7cfdf0113c3d32096c9406823efe0cd0a] | committer: Luca Barbato

flv: Do not export datastream as metadata

It is used internally.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0a9425d7cfdf0113c3d32096c9406823efe0cd0a
---

 libavformat/flvdec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 8ed724b..b8feeaf 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -492,7 +492,8 @@ static int amf_parse_object(AVFormatContext *s, AVStream *astream,
             !strcmp(key, "audiosamplerate") ||
             !strcmp(key, "audiosamplesize") ||
             !strcmp(key, "stereo")          ||
-            !strcmp(key, "audiocodecid"))
+            !strcmp(key, "audiocodecid")    ||
+            !strcmp(key, "datastream"))
             return 0;
 
         if (amf_type == AMF_DATA_TYPE_BOOL) {



More information about the ffmpeg-cvslog mailing list