[FFmpeg-devel] PATCH: Re: [libav-user] Encoding additional data (non-AV) in stream?

Florian Echtler floe
Wed Jun 18 09:02:07 CEST 2008


>> I think it's a bit odd that one part of ffmpeg can write files that the
>> other part can't read anymore, so here's a tiny patch which at least
>> allows the stream to be read:
> patch looks ok
I've just built the SVN version and noticed that the patch hasn't been 
committed (yet). Is there something else I should do with it? I don't have 
an SVN account, so could somebody who has one perhaps commit it, please?

Thanks, Yours, Florian
-- 
"_Nothing_ brightens up my morning. Coffee simply provides a shade of
grey just above the pitch-black of the infinite depths of the _abyss_."
-------------- next part --------------
--- avidec.old	2008-06-09 09:06:01.000000000 +0200
+++ avidec.c	2008-06-09 09:06:34.000000000 +0200
@@ -411,6 +411,9 @@
                 //FIXME
                 codec_type = CODEC_TYPE_DATA; //CODEC_TYPE_SUB ?  FIXME
                 break;
+            case MKTAG('d', 'a', 't', 's'):
+                codec_type = CODEC_TYPE_DATA;
+                break;
             default:
                 av_log(s, AV_LOG_ERROR, "unknown stream type %X\n", tag1);
                 goto fail;



More information about the ffmpeg-devel mailing list