Re: [FFmpeg-devel] [PATCH] h264: check frame properties for consistency before copying

2015-06-15 Thread Andreas Cadhalpun
On 15.06.2015 03:54, Michael Niedermayer wrote: > On Sun, Jun 14, 2015 at 12:40:18PM +0200, Andreas Cadhalpun wrote: >> Also use the frame pixel format instead of the one from the codec >> context, which is more robust. > > the checks cant hurt ... > LGTM Pushed. Best regards, Andreas _

Re: [FFmpeg-devel] [PATCH] h264: check frame properties for consistency before copying

2015-06-14 Thread Michael Niedermayer
On Sun, Jun 14, 2015 at 12:40:18PM +0200, Andreas Cadhalpun wrote: > Also use the frame pixel format instead of the one from the codec > context, which is more robust. the checks cant hurt ... LGTM thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Let us c

[FFmpeg-devel] [PATCH] h264: check frame properties for consistency before copying

2015-06-14 Thread Andreas Cadhalpun
Also use the frame pixel format instead of the one from the codec context, which is more robust. Signed-off-by: Andreas Cadhalpun --- libavcodec/h264_slice.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 0c0812f.