[FFmpeg-devel] [PATCH] Do not free BITMAPINFOHEADER before we are done using it.
Michael Niedermayer
michaelni at gmx.at
Sat Aug 27 18:28:49 CEST 2011
On Sat, Aug 27, 2011 at 03:07:24PM +0200, Reimar Döffinger wrote:
> Fixes trac ticket #396.
> Completely untested.
[...]
> diff --git a/libavformat/utils.c b/libavformat/utils.c
> index 7a9d69a..a89da25 100644
> --- a/libavformat/utils.c
> +++ b/libavformat/utils.c
> @@ -1001,7 +1001,7 @@ static void compute_pkt_fields(AVFormatContext *s, AVStream *st,
> // some mpeg2 in mpeg-ps lack dts (issue171 / input_file.mpg)
> // we take the conservative approach and discard both
> // Note, if this is misbehaving for a H.264 file then possibly presentation_delayed is not set correctly.
> - if(delay==1 && pkt->dts == pkt->pts && pkt->dts != AV_NOPTS_VALUE && presentation_delayed){
> + if(0 && delay==1 && pkt->dts == pkt->pts && pkt->dts != AV_NOPTS_VALUE && presentation_delayed){
> av_log(s, AV_LOG_DEBUG, "invalid dts/pts combination\n");
ehm
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110827/3179c722/attachment.asc>
More information about the ffmpeg-devel
mailing list