summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_ffmpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd_ffmpeg.c')
-rw-r--r--libmpcodecs/vd_ffmpeg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmpcodecs/vd_ffmpeg.c b/libmpcodecs/vd_ffmpeg.c
index 78e705318d..d4a43a5724 100644
--- a/libmpcodecs/vd_ffmpeg.c
+++ b/libmpcodecs/vd_ffmpeg.c
@@ -20,7 +20,7 @@ static const vd_info_t info = {
"ffmpeg",
"A'rpi",
"A'rpi, Michael, Alex",
- "native codecs (http://ffmpeg.sf.net/)"
+ "native codecs"
};
LIBVD_EXTERN(ffmpeg)
@@ -266,7 +266,7 @@ static int init(sh_video_t *sh){
avctx->width = sh->disp_w;
avctx->height= sh->disp_h;
avctx->workaround_bugs= lavc_param->workaround_bugs;
- avctx->error_resilience= lavc_param->error_resilience;
+ avctx->error_recognition= lavc_param->error_resilience;
if(lavc_param->gray) avctx->flags|= CODEC_FLAG_GRAY;
#ifdef CODEC_FLAG2_FAST
avctx->flags2|= lavc_param->fast;
@@ -384,7 +384,7 @@ static int init(sh_video_t *sh){
}
if(sh->bih)
- avctx->bits_per_sample= sh->bih->biBitCount;
+ avctx->bits_per_coded_sample= sh->bih->biBitCount;
if(lavc_param->threads > 1)
avcodec_thread_init(avctx, lavc_param->threads);