diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-06 13:59:40 -0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2017-07-07 15:30:57 -0400 |
commit | c27d7c027cd7defd44bf11ba9c0526279a3773c3 (patch) | |
tree | 6f78304755e6cd7459f0645b7dbd6a172b41743d | |
parent | aa2bc61a3e32579567b432590b8a24bee01dcee1 (diff) | |
download | ffmpeg-c27d7c027cd7defd44bf11ba9c0526279a3773c3.tar.gz |
rtmpproto: Fix error return
Mistake was added in 5840473890440dbe0bd2cce530ebb3d93e187ae6.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index ae55a33284..7dd9cdddaf 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2507,7 +2507,7 @@ static int get_packet(URLContext *s, int for_header) } else if (rpkt.type == RTMP_PT_METADATA) { ret = handle_metadata(rt, &rpkt); ff_rtmp_packet_destroy(&rpkt); - return 0; + return ret; } ff_rtmp_packet_destroy(&rpkt); } |