Browse Source

flashsv: return more meaningful error value

tags/n0.9
Diego Biurrun 14 years ago
parent
commit
4b7f49082f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/flashsv.c

+ 1
- 1
libavcodec/flashsv.c View File

@@ -366,7 +366,7 @@ static int flashsv_decode_frame(AVCodecContext *avctx, void *data,
if (s->color_depth != 0 && s->color_depth != 2) {
av_log(avctx, AV_LOG_ERROR,
"%dx%d invalid color depth %d\n", i, j, s->color_depth);
return -1;
return AVERROR_INVALIDDATA;
}

if (has_diff) {


Loading…
Cancel
Save