Mercurial > mplayer.hg
changeset 30520:b7ef5e62a649
Remove useless code, QUERY_FORMAT already ensures the requested format is supported.
author | reimar |
---|---|
date | Sun, 14 Feb 2010 11:06:04 +0000 |
parents | e96015d17ffb |
children | 828219ec9742 |
files | libmpcodecs/vd_theora.c |
diffstat | 1 files changed, 0 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_theora.c Sun Feb 14 11:04:14 2010 +0000 +++ b/libmpcodecs/vd_theora.c Sun Feb 14 11:06:04 2010 +0000 @@ -69,16 +69,6 @@ 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 {