]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nuv.c
mlpdec: fix channel order for wide 7.1 truehd layouts
[ffmpeg] / libavcodec / nuv.c
index b10b8db248eabbb02faed92eb99054c361eb3571..7f8dc7501b4386a71d0ff3e5c40096e6b01808e5 100644 (file)
@@ -193,7 +193,7 @@ retry:
         int w, h, q, res;
         if (buf[0] != 'V' || buf_size < 12) {
             av_log(avctx, AV_LOG_ERROR, "invalid nuv video frame (wrong codec_tag?)\n");
-            return -1;
+            return AVERROR_INVALIDDATA;
         }
         w = AV_RL16(&buf[6]);
         h = AV_RL16(&buf[8]);