mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
rtmpproto: Fix error return
Mistake was added in 5840473890
.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
aa2bc61a3e
commit
c27d7c027c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user