This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
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
tags/v0.5
Michael Niedermayer
18 years ago
parent
57cf99f2b7
commit
0fcfa8eb36
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
libavformat/nutenc.c
+ 7
- 0
libavformat/nutenc.c
View File
@@ -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 */
Write
Preview
Loading…
Cancel
Save