changeset 36635:0b6385acafcc

img_format: document why mp_get_chroma_shift does not work for NV12/NV21
author reimar
date Sat, 25 Jan 2014 16:55:03 +0000
parents 945eab072c9d
children 28ea3e45b03a
files libmpcodecs/img_format.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/img_format.c	Sat Jan 25 16:55:01 2014 +0000
+++ b/libmpcodecs/img_format.c	Sat Jan 25 16:55:03 2014 +0000
@@ -224,7 +224,10 @@
     case IMGFMT_NV21:
         xs = 1;
         ys = 1;
+        // TODO: allowing this though currently breaks
+        // things all over the place.
         err = 1;
+        break;
     default:
         err = 1;
         break;