[FFmpeg-cvslog] svq1enc: set picture_structure correctly

Michael Niedermayer git at videolan.org
Mon Aug 6 16:43:49 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Aug  6 16:28:13 2012 +0200| [3e0b4e32c9ee716feb62e3ac3420e421fd802dc7] | committer: Michael Niedermayer

svq1enc: set picture_structure correctly

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e0b4e32c9ee716feb62e3ac3420e421fd802dc7
---

 libavcodec/svq1enc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index 61c30d4..951f803 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -485,6 +485,7 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx)
 
     s->avctx= avctx;
     s->m.avctx= avctx;
+    s->m.picture_structure = PICT_FRAME;
     s->m.me.temp      =
     s->m.me.scratchpad= av_mallocz((avctx->width+64)*2*16*2*sizeof(uint8_t));
     s->m.me.map       = av_mallocz(ME_MAP_SIZE*sizeof(uint32_t));



More information about the ffmpeg-cvslog mailing list