transcode: typo
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 2 Feb 2012 18:53:44 +0000 (20:53 +0200)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 2 Feb 2012 18:54:15 +0000 (20:54 +0200)
modules/stream_out/transcode/video.c

index 2475cd0..ed9138c 100644 (file)
@@ -745,7 +745,7 @@ int transcode_video_process( sout_stream_t *p_stream, sout_stream_id_t *id,
                {
                    /* We can't modify the picture, we need to duplicate it */
                    p_pic2 = video_new_buffer_decoder( id->p_decoder );
-                   if( unlikely( p_pic2 != NULL ) )
+                   if( likely( p_pic2 != NULL ) )
                    {
                        picture_Copy( p_pic2, p_pic );
                        p_pic2->date = i_pts;