aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/wtv.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-04-07 03:32:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-07 03:32:26 +0200
commitc0e51ec9c625ccd7b3a8c74754145e6c023a3848 (patch)
tree9b8e987ec11d8104cde5269008bb0d21aaac89b7 /libavformat/wtv.c
parent4b9c03b7f08f51fea3c8719f169368a46a0d3b63 (diff)
parent1f6265e011f6e56562b2f58c182bc0261062b3c4 (diff)
downloadffmpeg-c0e51ec9c625ccd7b3a8c74754145e6c023a3848.tar.gz
Merge remote branch 'qatar/master'
* qatar/master: Fix parser: mark av_parser_parse() for removal on next major bump swscale: postpone sws_getContext removal until next major bump. fate: add AAC LATM test mmst: get rid of deprecated AVERRORs lxfdec: use AVERROR(ENOMEM) instead of deprecated AVERROR_NOMEM. Reemove remaining uses of deprecated AVERROR_NOTSUPP. REIMPLEMENTED in 2 lines of code: lavf: if id3v2 tag is present and all else fails, guess by file extension Conflicts: libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/wtv.c')
-rw-r--r--libavformat/wtv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtv.c b/libavformat/wtv.c
index a9ad2718ad..110366fc1a 100644
--- a/libavformat/wtv.c
+++ b/libavformat/wtv.c
@@ -1061,7 +1061,7 @@ static int read_seek(AVFormatContext *s, int stream_index,
int i;
if ((flags & AVSEEK_FLAG_FRAME) || (flags & AVSEEK_FLAG_BYTE))
- return AVERROR_NOTSUPP;
+ return AVERROR(ENOSYS);
/* timestamp adjustment is required because wtv->pts values are absolute,
* whereas AVIndexEntry->timestamp values are relative to epoch. */