OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
171ae1e
)
flvenc: propagate error properly
author
Luca Barbato
<lu_zero@gentoo.org>
Mon, 6 Jun 2011 14:13:05 +0000
(09:13 -0500)
committer
Luca Barbato
<lu_zero@gentoo.org>
Mon, 6 Jun 2011 15:53:19 +0000
(10:53 -0500)
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
libavformat/flvenc.c
patch
|
blob
|
history
diff --git
a/libavformat/flvenc.c
b/libavformat/flvenc.c
index
b8ae113
..
b20a3f8
100644
(file)
--- a/
libavformat/flvenc.c
+++ b/
libavformat/flvenc.c
@@
-434,7
+434,7
@@
static int flv_write_packet(AVFormatContext *s, AVPacket *pkt)
av_free(data);
- return
0
;
+ return
pb->error
;
}
AVOutputFormat ff_flv_muxer = {