[vlc-commits] Cosmetics (avcodec decoder).
Laurent Aimar
git at videolan.org
Tue Sep 13 22:59:27 CEST 2011
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue Sep 13 00:36:25 2011 +0200| [66b8bb17dacc529f033097984a9a0e864a0bdea5] | committer: Laurent Aimar
Cosmetics (avcodec decoder).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66b8bb17dacc529f033097984a9a0e864a0bdea5
---
modules/codec/avcodec/video.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index 2d869b5..3a272b8 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -1103,10 +1103,10 @@ static void ffmpeg_ReleaseFrameBuf( struct AVCodecContext *p_context,
}
#ifdef HAVE_AVCODEC_VA
-static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_codec,
+static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_context,
const enum PixelFormat *pi_fmt )
{
- decoder_t *p_dec = p_codec->opaque;
+ decoder_t *p_dec = p_context->opaque;
decoder_sys_t *p_sys = p_dec->p_sys;
if( p_sys->p_va )
@@ -1189,7 +1189,7 @@ static enum PixelFormat ffmpeg_GetFormat( AVCodecContext *p_codec,
}
/* Fallback to default behaviour */
- return avcodec_default_get_format( p_codec, pi_fmt );
+ return avcodec_default_get_format( p_context, pi_fmt );
}
#endif
More information about the vlc-commits
mailing list