[FFmpeg-trac] #3742(avcodec:new): Assertion when playing h264 with vlc using vdpau

FFmpeg trac at avcodec.org
Wed Jul 9 18:06:21 CEST 2014


#3742: Assertion when playing h264 with vlc using vdpau
-------------------------------------+-------------------------------------
             Reporter:  oromit       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  h264 vdpau   |               Blocked By:
  crash abort regression             |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by michael):

 Can someone try if patch below fixes it:
 {{{
 diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
 index 9e11038..2a67f4d 100644
 --- a/libavcodec/pthread_frame.c
 +++ b/libavcodec/pthread_frame.c
 @@ -376,7 +376,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
                  p->result = ff_get_buffer(p->avctx, p->requested_frame,
 p->requested_flags);
                  break;
              case STATE_GET_FORMAT:
 -                p->result_format = p->avctx->get_format(p->avctx,
 p->available_formats);
 +                p->result_format = ff_get_format(p->avctx,
 p->available_formats);
                  break;
              default:
                  call_done = 0;

 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3742#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list