[MPlayer-cvslog] r30562 - trunk/libmpcodecs/vd_theora.c
reimar
subversion at mplayerhq.hu
Sun Feb 14 12:06:04 CET 2010
Author: reimar
Date: Sun Feb 14 12:06:04 2010
New Revision: 30562
Log:
Remove useless code, QUERY_FORMAT already ensures the requested format is supported.
Modified:
trunk/libmpcodecs/vd_theora.c
Modified: trunk/libmpcodecs/vd_theora.c
==============================================================================
--- trunk/libmpcodecs/vd_theora.c Sun Feb 14 12:04:14 2010 (r30561)
+++ trunk/libmpcodecs/vd_theora.c Sun Feb 14 12:06:04 2010 (r30562)
@@ -69,16 +69,6 @@ static int init(sh_video_t *sh){
ogg_packet op;
int i;
- /* check whether video output format is supported */
- switch(sh->codec->outfmt[sh->outfmtidx])
- {
- case IMGFMT_YV12: /* well, this should work... */ break;
- default:
- mp_msg (MSGT_DECVIDEO,MSGL_ERR,"Unsupported out_fmt: 0x%X\n",
- sh->codec->outfmt[sh->outfmtidx]);
- return 0;
- }
-
/* this is not a loop, just a context, from which we can break on error */
do
{
More information about the MPlayer-cvslog
mailing list