[SCM] libav/experimental: Use last decoded SPS as current SPS in order to parse picture timing SEI correctly. This works around an apparent H.264 standard deficiency.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:38:57 UTC 2013
The following commit has been merged in the experimental branch:
commit ebb61f834a338836590e10de98981a73066e63b7
Author: Ivan Schreter <schreter at gmx.net>
Date: Fri Feb 20 16:20:01 2009 +0000
Use last decoded SPS as current SPS in order to parse picture timing SEI
correctly. This works around an apparent H.264 standard deficiency.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17471 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 08e215d..c4a26cc 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -7223,6 +7223,7 @@ static inline int decode_seq_parameter_set(H264Context *h){
av_free(h->sps_buffers[sps_id]);
h->sps_buffers[sps_id]= sps;
+ h->sps = *sps;
return 0;
fail:
av_free(sps);
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list