document abuse of internal avformat API (also needing internal.h)
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Oct 2016 17:29:24 +0000 (19:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 28 Oct 2016 17:29:24 +0000 (19:29 +0200)
ffserver/ffserver.c

index a2a4a48..9d43b9f 100644 (file)
@@ -3543,6 +3543,7 @@ static AVStream *add_av_stream1(FFServerStream *stream,
         fst->codec = codec;
 
     fst->priv_data = av_mallocz(sizeof(FeedData));
+    //TODO remove use of avformat internal structure size
     fst->internal = av_mallocz(sizeof(*fst->internal));
     fst->internal->avctx = avcodec_alloc_context3(NULL);
     fst->codecpar = avcodec_parameters_alloc();