]> git.sesse.net Git - ffmpeg/commit
ffmpeg: move subframe warning to libavcodec
authorwm4 <nfxjfg@googlemail.com>
Sat, 1 Oct 2016 15:22:02 +0000 (17:22 +0200)
committerwm4 <nfxjfg@googlemail.com>
Sat, 1 Oct 2016 15:22:02 +0000 (17:22 +0200)
commitb2fea2fdee464edd736fc903ec3a4dc1e3a06e56
tree54b7197f5fd4a8781c4568704bba135884291bb4
parent3c18188f9f3e5d7980c7998416a39f7efba307bf
ffmpeg: move subframe warning to libavcodec

With the new decode API, doing this in ffmpeg.c is impractical. There
was resistance against removing the warning, so put it into libavcodec.

Not bothering with reducing the warning to verbose log level for
subsequent wanrings. The warning should be rare, and only happen when
developing new codecs for the old API.

Includes a change suggested by Michael Niedermayer.
ffmpeg.c
ffmpeg.h
libavcodec/internal.h
libavcodec/utils.c