diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-12-23 21:10:05 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-12-23 21:56:56 +0400 |
commit | f3298f12997eb4b7ad203766f768f92e3dd72a2a (patch) | |
tree | e349cd427d9cfcf74aae21a85cff911c2aacaee6 /libavformat/mtv.c | |
parent | ed40b6bf07342dc80f616e909f0e6fec4073ade4 (diff) |
Return proper error code after av_log_ask_for_sample()
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r-- | libavformat/mtv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c index 572288894d..1566faa086 100644 --- a/libavformat/mtv.c +++ b/libavformat/mtv.c @@ -109,7 +109,7 @@ static int mtv_read_header(AVFormatContext *s) if (audio_subsegments == 0) { av_log_ask_for_sample(s, "MTV files without audio are not supported\n"); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } mtv->full_segment_size = |