aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api/api-h264-test.c
diff options
context:
space:
mode:
authorMuhammad Faiz <mfcc64@gmail.com>2017-04-22 15:59:09 +0700
committerMuhammad Faiz <mfcc64@gmail.com>2017-04-23 14:47:54 +0700
commitcdd3048134b8b032b69d3c076d73d24e329dc9ba (patch)
tree5a23d1b6d10204843325d71c93965a277a9d7b88 /tests/api/api-h264-test.c
parent327a1c0dee05efff74b1fe18144a6543c44975fa (diff)
downloadffmpeg-cdd3048134b8b032b69d3c076d73d24e329dc9ba.tar.gz
tests: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'tests/api/api-h264-test.c')
-rw-r--r--tests/api/api-h264-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/api-h264-test.c b/tests/api/api-h264-test.c
index 7bdf92bb89..52282e0007 100644
--- a/tests/api/api-h264-test.c
+++ b/tests/api/api-h264-test.c
@@ -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);