OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57cf99f
)
add a universal fallback frame code for the case that no other applies
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Aug 2007 20:52:49 +0000
(20:52 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 9 Aug 2007 20:52:49 +0000
(20:52 +0000)
Originally committed as revision 10028 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/nutenc.c
patch
|
blob
|
history
diff --git
a/libavformat/nutenc.c
b/libavformat/nutenc.c
index
05f9428
..
007b65c
100644
(file)
--- a/
libavformat/nutenc.c
+++ b/
libavformat/nutenc.c
@@
-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 */