diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-01 23:04:19 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-05 18:36:51 +0200 |
commit | 416cc012f6203c7162079ae5b14930ada9189ac3 (patch) | |
tree | 74694eb270ccb7055cc897ee8ab839f951ccd6ee /libavformat/rawenc.c | |
parent | b3652d97452bd1d8b641bf7ec967f9cdda2a53c5 (diff) | |
download | ffmpeg-416cc012f6203c7162079ae5b14930ada9189ac3.tar.gz |
avutil/frame: Return 0 on success in av_frame_ref()
av_frame_copy() is allowed to return values >= 0 on success, whereas
the documentation of av_frame_ref() states that the return value is 0 on
success. Ergo the latter must not just return the former's return value.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rawenc.c')
0 files changed, 0 insertions, 0 deletions