[SCM] libav/experimental: add a universal fallback frame code for the case that no other applies
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:05:13 UTC 2013
The following commit has been merged in the experimental branch:
commit 0fcfa8eb36cecf7e1e6c2b079de960bc3d4d1ade
Author: Michael Niedermayer <michaelni at gmx.at>
Date: Thu Aug 9 20:52:49 2007 +0000
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
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index 05f9428..007b65c 100644
--- 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 */
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list