Commit c27d7c02 authored by Derek Buitenhuis's avatar Derek Buitenhuis

rtmpproto: Fix error return

Mistake was added in 58404738.
Signed-off-by: 's avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent aa2bc61a
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment