avformat/aviobuf: return stored AVIO context error on avio_close
authorMarton Balint <cus@passwd.hu>
Mon, 29 Nov 2021 23:59:14 +0000 (00:59 +0100)
committerMarton Balint <cus@passwd.hu>
Sat, 11 Dec 2021 23:32:20 +0000 (00:32 +0100)
commit8a40cfa4dab461643f4f93f3340c897d708ea221
treed3e854390a14998733a66c19f1a921105c848914
parent722d28db129b2e52d19c1a5051ea4ab0a9b84062
avformat/aviobuf: return stored AVIO context error on avio_close

Otherwise IO errors at avio_flush() before closing may be lost.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavformat/aviobuf.c