]> git.sesse.net Git - ffmpeg/blobdiff - vhook/watermark.c
The mpegaudio parser depends on mpegaudiodata.o.
[ffmpeg] / vhook / watermark.c
index 3d8313aa5962d655ec23f0439389e7671d4a597a..a8f7d5728e4fbc8c23a76852a41bc60bda5e0fc5 100644 (file)
@@ -544,10 +544,6 @@ int get_watermark_picture(ContextInfo *ci, int cleanup)
             return -1;
         }
 
-        // Inform the codec that we can handle truncated bitstreams -- i.e.,
-        // bitstreams where frame boundaries can fall in the middle of packets
-        if (ci->pCodec->capabilities & CODEC_CAP_TRUNCATED)
-            ci->pCodecCtx->flags|=CODEC_FLAG_TRUNCATED;
 
         // Open codec
         if(avcodec_open(ci->pCodecCtx, ci->pCodec)<0) {