Quoting Luca Barbato (2014-10-15 02:29:10)
> On 14/10/14 21:35, Anton Khirnov wrote:
> > Quoting Vittorio Giovara (2014-10-14 17:46:41)
> >> From: Luca Barbato <[email protected]>
> >>
> >> CC: [email protected]
> >> Bug-Id: CID 1087082
> >> ---
> >>   avprobe.c | 2 +-
> >>   1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >
> > Possible?
> 
> Yes
> > Really?
> 
> Yes
> > Under what conditions?
> 
> Unknown codec.
> 
> Another (better) option is to move the bitrate output in the block above 
> but I was wary of people reading the data as an array instead of a 
> dictionary.

dec_ctx is AVStream.codec. That is guaranteed to never be NULL by
libavformat. So the check you're adding is pointless. The existing check
above in that file is equally so.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to