diff dec_video.c @ 3877:a3c73266f81f

fixed rv10 with subid=3
author alex
date Sat, 29 Dec 2001 16:42:50 +0000
parents 53ed66a4f0bf
children 2eb8c8aacca7
line wrap: on
line diff
--- a/dec_video.c	Sat Dec 29 11:35:21 2001 +0000
+++ b/dec_video.c	Sat Dec 29 16:42:50 2001 +0000
@@ -483,6 +483,8 @@
     lavc_context.width=sh_video->disp_w;
     lavc_context.height=sh_video->disp_h;
     mp_dbg(MSGT_DECVIDEO,MSGL_DBG2,"libavcodec.size: %d x %d\n",lavc_context.width,lavc_context.height);
+    if (sh_video->format == mmioFOURCC('R', 'V', '1', '3'))
+	lavc_context.sub_id = 3;
     /* open it */
     if (avcodec_open(&lavc_context, lavc_codec) < 0) {
         mp_msg(MSGT_DECVIDEO,MSGL_ERR, MSGTR_CantOpenCodec);