]> git.sesse.net Git - vlc/commitdiff
* fix stupid mistake in [16427]
authorDerk-Jan Hartman <hartman@videolan.org>
Tue, 29 Aug 2006 23:19:23 +0000 (23:19 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Tue, 29 Aug 2006 23:19:23 +0000 (23:19 +0000)
modules/codec/ffmpeg/encoder.c

index 9ee12b9f89db8d7239bb5656174da56d509dba7a..2c28ccd48d411c09f86b77d602989abcb1b9970e 100644 (file)
@@ -877,7 +877,7 @@ static block_t *EncodeVideo( encoder_t *p_enc, picture_t *p_pict )
     /* End work-around */
 
     i_out = avcodec_encode_video( p_sys->p_context, (uint8_t*)p_sys->p_buffer_out,
-                                  p_context->height * p_context->width * 3, &frame );
+                                  p_sys->p_context->height * p_sys->p_context->width * 3, &frame );
 
     if( i_out > 0 )
     {