[FFmpeg-cvslog] r17471 - trunk/libavcodec/h264.c
cehoyos
subversion
Fri Feb 20 17:20:01 CET 2009
Author: cehoyos
Date: Fri Feb 20 17:20:01 2009
New Revision: 17471
Log:
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
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Fri Feb 20 13:03:35 2009 (r17470)
+++ trunk/libavcodec/h264.c Fri Feb 20 17:20:01 2009 (r17471)
@@ -7223,6 +7223,7 @@ static inline int decode_seq_parameter_s
av_free(h->sps_buffers[sps_id]);
h->sps_buffers[sps_id]= sps;
+ h->sps = *sps;
return 0;
fail:
av_free(sps);
More information about the ffmpeg-cvslog
mailing list