aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-07 14:53:31 +0000
committerDiego Biurrun <diego@biurrun.de>2009-08-07 14:53:31 +0000
commit966116b9f73a27cf2cb5692cf1bc326bc0bf2ceb (patch)
treeec0fa1fd1d8fbb42ff60439fb5448b5b0e46f118 /ffplay.c
parent547d205545dbbeec18708b74937ffc644b65003e (diff)
downloadffmpeg-966116b9f73a27cf2cb5692cf1bc326bc0bf2ceb.tar.gz
Remove some hunks of unused and disabled code cruft.
Originally committed as revision 19606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/ffplay.c b/ffplay.c
index c976ac5841..6077e6c050 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1171,23 +1171,6 @@ static void alloc_picture(void *opaque)
if (vp->bmp)
SDL_FreeYUVOverlay(vp->bmp);
-#if 0
- /* XXX: use generic function */
- /* XXX: disable overlay if no hardware acceleration or if RGB format */
- switch(is->video_st->codec->pix_fmt) {
- case PIX_FMT_YUV420P:
- case PIX_FMT_YUV422P:
- case PIX_FMT_YUV444P:
- case PIX_FMT_YUYV422:
- case PIX_FMT_YUV410P:
- case PIX_FMT_YUV411P:
- is_yuv = 1;
- break;
- default:
- is_yuv = 0;
- break;
- }
-#endif
vp->bmp = SDL_CreateYUVOverlay(is->video_st->codec->width,
is->video_st->codec->height,
SDL_YV12_OVERLAY,