]> git.sesse.net Git - ffmpeg/commit
CrystalHD: Back up extradata to allow decoder reinit to work.
authorPhilip Langdale <philipl@cloudera.com>
Sun, 22 Jan 2012 21:47:00 +0000 (13:47 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 22 Jan 2012 22:40:24 +0000 (23:40 +0100)
commit9bf9c314a093db16a009829bfe874bf03ffaecc9
tree9460aeb9e1a0ce5eb1c1aaf5010ddef20fc7e73f
parenteaf4bf6df2cf26c31bf7f787edd69812a681ab2e
CrystalHD: Back up extradata to allow decoder reinit to work.

This was a regression that came in when I switched to using the
h.264 annex b filter all the time. As the filter modifies extradata,
its use violates the statelessness assumption that exists in the
'ffmpeg' command line tool, and maybe elsewhere. It assumes that
a docoder can be reinitalised and pointed to an existing stream and
get the same results.

For now, the only way to meet this requirement is to backup the
extradata.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/crystalhd.c