tests: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
This commit is contained in:
@@ -132,7 +132,7 @@ static int video_decode_example(const char *input_filename)
|
||||
return number_of_written_bytes;
|
||||
}
|
||||
printf("%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, 0x%08lx\n", video_stream,
|
||||
fr->pts, fr->pkt_dts, av_frame_get_pkt_duration(fr),
|
||||
fr->pts, fr->pkt_dts, fr->pkt_duration,
|
||||
number_of_written_bytes, av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes));
|
||||
}
|
||||
av_packet_unref(&pkt);
|
||||
|
||||
Reference in New Issue
Block a user