Commit 0fcfa8eb authored by Michael Niedermayer's avatar Michael Niedermayer

add a universal fallback frame code for the case that no other applies

Originally committed as revision 10028 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 57cf99f2
......@@ -30,6 +30,13 @@ static void build_frame_code(AVFormatContext *s){
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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment