[FFmpeg-devel] [PATCH] h264: do not return on sidedata allocation failure

Michael Niedermayer michaelni at gmx.at
Sat Aug 23 01:13:26 CEST 2014


On Fri, Aug 22, 2014 at 04:57:35PM +0200, Christophe Gisquet wrote:
> Hi,
> 
> following "[PATCH] h264: Move AFD to side data to match MPEG-2", it
> was mentioned making sidedata allocation failures non-fatal.
> 
> This patch is a proposal for this.
> 
> -- 
> Christophe

>  h264.c |   16 +++++++---------
>  1 file changed, 7 insertions(+), 9 deletions(-)
> 61b22a11c4da578ae8f65225ae5fa1de6633548d  0001-h264-do-not-return-on-sidedata-allocation-failure.patch
> From 7092da22cf0efbdb0988810bd30c279d18388fdc Mon Sep 17 00:00:00 2001
> From: Christophe Gisquet <christophe.gisquet at gmail.com>
> Date: Fri, 22 Aug 2014 16:49:54 +0200
> Subject: [PATCH] h264: do not return on sidedata allocation failure
> 
> Not having allocated it is not a good reason to leave the object
> in an undetermined state. Though a particular setting like the
> AV_EF_* flags could be useful to control that behaviour.

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 3
"Rare item" - "Common item with rare defect or maybe just a lie"
"Professional" - "'Toy' made in china, not functional except as doorstop"
"Experts will know" - "The seller hopes you are not an expert"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140823/952a9b1c/attachment.asc>


More information about the ffmpeg-devel mailing list