On 26/10/14 20:33, Rémi Denis-Courmont wrote:
This is the same as the previous change, but for applications using the
old API (such as VLC 2.2).
---
  libavcodec/vdpau.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 1d68e70..93b53dd 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -287,8 +287,8 @@ do {                        \
          }
      case AV_CODEC_ID_H264:
          switch (avctx->profile & ~FF_PROFILE_H264_INTRA) {
-        case FF_PROFILE_H264_CONSTRAINED_BASELINE:
          case FF_PROFILE_H264_BASELINE:         
PROFILE(VDP_DECODER_PROFILE_H264_BASELINE);
+        case FF_PROFILE_H264_CONSTRAINED_BASELINE:
          case FF_PROFILE_H264_MAIN:             
PROFILE(VDP_DECODER_PROFILE_H264_MAIN);
          case FF_PROFILE_H264_HIGH:             
PROFILE(VDP_DECODER_PROFILE_H264_HIGH);
          default:                               return AVERROR(EINVAL);


Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to