[FFmpeg-devel] [PATCH] avformat: Fix bug in parse_rps for HEVC.

deliang Fu agoalster at gmail.com
Thu Jun 11 11:32:53 CEST 2015


2015-06-11 8:42 GMT+08:00 Michael Niedermayer <michaelni at gmx.at>:

> On Wed, Jun 10, 2015 at 12:30:46PM +0800, Deliang Fu wrote:
> > Make the logic in libavformat/hevc.c parse_rps align with
> libavcodec/hevc_ps.c ff_hevc_decode_short_term_rps
> >
> > ---
> >  libavformat/hevc.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> applied
>
> iam still interrested in a testcase if you have one
>
> thanks
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> There will always be a question for which you do not know the correct
> answer.
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> Hi Michael,

Sorry but I don't have a testcase.
The previous code will cause infinite loop when rps syntax are used in the
input HEVC video while executing code like:
ffmpeg -i input.265 -vcodec copy out.mp4
Transcoding to other encoding were all good because the code in
libavcodec/hevc_ps.c is correct.

BRs,
Deliang


More information about the ffmpeg-devel mailing list