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/transcoding.c | |
parent | 8893c943a9bdbe8ed2c0f99ca986d6f662d58185 (diff) | |
download | ffmpeg-327a1c0dee05efff74b1fe18144a6543c44975fa.tar.gz |
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/transcoding.c')
-rw-r--r-- | doc/examples/transcoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/transcoding.c b/doc/examples/transcoding.c index 476ec69afe..fb15a2148d 100644 --- a/doc/examples/transcoding.c +++ b/doc/examples/transcoding.c @@ -558,7 +558,7 @@ int main(int argc, char **argv) } if (got_frame) { - frame->pts = av_frame_get_best_effort_timestamp(frame); + frame->pts = frame->best_effort_timestamp; ret = filter_encode_write_frame(frame, stream_index); av_frame_free(&frame); if (ret < 0) |