mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-30 16:37:44 +00:00
examples: do not use AVFrame accessor
Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
This commit is contained in:
parent
8893c943a9
commit
327a1c0dee
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue