diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-22 15:58:37 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2017-04-23 14:43:51 +0700 |
commit | 327a1c0dee05efff74b1fe18144a6543c44975fa (patch) | |
tree | d2477189080cc2fb6d441914cef554afadf87af9 /doc/examples/filtering_video.c | |
parent | 8893c943a9bdbe8ed2c0f99ca986d6f662d58185 (diff) |
examples: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'doc/examples/filtering_video.c')
-rw-r--r-- | doc/examples/filtering_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index 4d973024f1..4e09c6fba4 100644 --- a/doc/examples/filtering_video.c +++ b/doc/examples/filtering_video.c @@ -253,7 +253,7 @@ int main(int argc, char **argv) } if (ret >= 0) { - frame->pts = av_frame_get_best_effort_timestamp(frame); + frame->pts = frame->best_effort_timestamp; /* push the decoded frame into the filtergraph */ if (av_buffersrc_add_frame_flags(buffersrc_ctx, frame, AV_BUFFERSRC_FLAG_KEEP_REF) < 0) { |