mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00: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