On 28/06/16 12:19, Peter B. wrote:
> On 06/28/2016 12:02 PM, Luca Barbato wrote:
>> Useful to inspect samples.
>> ---
>>  libavcodec/ffv1dec.c | 6 ++++++
>>  1 file changed, 6 insertions(+)
>>
>> diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
>> index de3a019..5861908 100644
>> --- a/libavcodec/ffv1dec.c
>> +++ b/libavcodec/ffv1dec.c
>> @@ -494,6 +494,12 @@ static int read_extra_header(FFV1Context *f)
>>      f->num_h_slices               = 1 + get_symbol(c, state, 0);
>>      f->num_v_slices               = 1 + get_symbol(c, state, 0);
>>
>> +    av_log(f->avctx, AV_LOG_VERBOSE,
>> +           "FFV1 version %d.%d colorspace %d - %d bits - %d/%d planes %s 
>> transparent - tile geometry %dx%d\n",
>> +           f->version, f->minor_version, f->colorspace, 
>> f->avctx->bits_per_raw_sample,
>> +           f->plane_count, f->chroma_planes, f->transparency ? "" : "not",
>> +           f->num_h_slices, f->num_v_slices);
>> +
>>      if (f->num_h_slices > (unsigned)f->width ||
>>          f->num_v_slices > (unsigned)f->height) {
>>          av_log(f->avctx, AV_LOG_ERROR, "too many slices\n");
>> --
> 
> This looks great! :D
> And it would indeed be very useful.
> 
> Is it on purpose, that "slicecrc" is not included?

Just that I didn't find it interesting, I can add it before pushing.

lu

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

Reply via email to