[FFmpeg-cvslog] r10028 - trunk/libavformat/nutenc.c
michael
subversion
Thu Aug 9 22:52:49 CEST 2007
Author: michael
Date: Thu Aug 9 22:52:49 2007
New Revision: 10028
Log:
add a universal fallback frame code for the case that no other applies
Modified:
trunk/libavformat/nutenc.c
Modified: trunk/libavformat/nutenc.c
==============================================================================
--- trunk/libavformat/nutenc.c (original)
+++ trunk/libavformat/nutenc.c Thu Aug 9 22:52:49 2007
@@ -30,6 +30,13 @@ static void build_frame_code(AVFormatCon
int end= 254;
int keyframe_0_esc= s->nb_streams > 2;
int pred_table[10];
+ FrameCode *ft;
+
+ ft= &nut->frame_code[start];
+ ft->flags= FLAG_CODED;
+ ft->size_mul=1;
+ ft->pts_delta=1;
+ start++;
if(keyframe_0_esc){
/* keyframe = 0 escape */
More information about the ffmpeg-cvslog
mailing list