On 20 Mar 2014, at 18:03, Rémi Denis-Courmont r...@remlab.net wrote:
+int av_vdpau_get_level(AVCodecContext *avctx, unsigned *levelp)
+{
+unsigned level = avctx-level;
+
+if (level == FF_LEVEL_UNKNOWN)
+return AVERROR(EINVAL);
FWIW, AVCodecContext.level is signed, and
On Fri, 21 Mar 2014 10:53:45 +0100, Tim Walker tdskywal...@gmail.com
wrote:
On 20 Mar 2014, at 18:03, Rémi Denis-Courmont r...@remlab.net wrote:
+int av_vdpau_get_level(AVCodecContext *avctx, unsigned *levelp)
+{
+unsigned level = avctx-level;
+
+if (level == FF_LEVEL_UNKNOWN)
+
On 21 Mar 2014, at 11:46, Rémi Denis-Courmont r...@remlab.net wrote:
On Fri, 21 Mar 2014 10:53:45 +0100, Tim Walker tdskywal...@gmail.com
wrote:
On 20 Mar 2014, at 18:03, Rémi Denis-Courmont r...@remlab.net wrote:
+int av_vdpau_get_level(AVCodecContext *avctx, unsigned *levelp)
+{
+
This was the last bit of codec-specific handling in VLC.
---
doc/APIchanges | 3 +++
libavcodec/vdpau.c | 28
libavcodec/vdpau.h | 14 ++
libavcodec/version.h | 4 ++--
4 files changed, 47 insertions(+), 2 deletions(-)
diff --git
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264 case for reference frames count.)
--
Rémi Denis-Courmont
http://www.remlab.net/
___
On Thu, 20 Mar 2014 19:10:23 +0200
Rémi Denis-Courmont r...@remlab.net wrote:
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264 case for reference frames count.)
Le jeudi 20 mars 2014, 18:31:19 wm4 a écrit :
On Thu, 20 Mar 2014 19:10:23 +0200
Rémi Denis-Courmont r...@remlab.net wrote:
Le jeudi 20 mars 2014, 19:03:29 Rémi Denis-Courmont a écrit :
This was the last bit of codec-specific handling in VLC.
Well, almost last. (Still special H.264