changeset 2371:253901bf60b7 libavformat

do not remove FLAG_CODED
author michael
date Sat, 11 Aug 2007 11:10:29 +0000
parents 1cabd7c94533
children 5c3d8e112e79
files nutenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nutenc.c	Sat Aug 11 10:12:39 2007 +0000
+++ b/nutenc.c	Sat Aug 11 11:10:29 2007 +0000
@@ -435,7 +435,7 @@
     if(FFABS(pkt->pts - nus->last_pts)
                          > nus->max_pts_distance) flags |= FLAG_CHECKSUM;
 
-    return flags;
+    return flags | (fc->flags & FLAG_CODED);
 }
 
 static int write_packet(AVFormatContext *s, AVPacket *pkt){