[FFmpeg-devel] [PATCH 3/3] ffmpeg: remove unneeded ost->picref check.

Michael Niedermayer michaelni at gmx.at
Tue Feb 14 00:08:00 CET 2012


On Mon, Feb 13, 2012 at 11:32:49PM +0100, Clément Bœsch wrote:
> If there ost->picref is NULL, it will likely crash anyway a few lines
> below by dereferencing it in order to access video attribute.
> ---
>  ffmpeg.c |    6 ++----
>  1 files changed, 2 insertions(+), 4 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- 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/20120214/0a9ef0be/attachment.asc>


More information about the ffmpeg-devel mailing list