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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue