summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideodsp.c
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <[email protected]>2016-01-04 19:33:50 -0800
committerGanesh Ajjanagadde <[email protected]>2016-01-05 19:06:21 -0800
commita956840cbcf89d709c4bd5980808ac0b5c8aeedf (patch)
tree3b30ebbf52cdb9ae9200e2625e755173cba51b77 /libavcodec/mpegvideodsp.c
parentda3c3c446cb434be9d0025f519e00c2385135c85 (diff)
ffmpeg: check return value of avio_closep for progress report
avio_closep is not guaranteed to succeed, and its return value can contain information regarding failure of preceding writes and silent loss of data (man 2 close, man fclose). Users should know when the progress was not successfully logged, and so a diagnostic is printed here. Reviewed-by: Michael Niedermayer <[email protected]> Reviewed-by: James Almer <[email protected]> Signed-off-by: Ganesh Ajjanagadde <[email protected]>
Diffstat (limited to 'libavcodec/mpegvideodsp.c')
0 files changed, 0 insertions, 0 deletions