mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
Merge commit '647d655d19c38e9716328e4787199149097d6089'
* commit '647d655d19c38e9716328e4787199149097d6089': rtmpproto: Consistently use the right prev_pkt array Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
e81411e88e
@ -403,7 +403,7 @@ static int read_connect(URLContext *s, RTMPContext *rt)
|
|||||||
GetByteContext gbc;
|
GetByteContext gbc;
|
||||||
|
|
||||||
if ((ret = ff_rtmp_packet_read(rt->stream, &pkt, rt->in_chunk_size,
|
if ((ret = ff_rtmp_packet_read(rt->stream, &pkt, rt->in_chunk_size,
|
||||||
rt->prev_pkt[1])) < 0)
|
rt->prev_pkt[0])) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
cp = pkt.data;
|
cp = pkt.data;
|
||||||
bytestream2_init(&gbc, cp, pkt.size);
|
bytestream2_init(&gbc, cp, pkt.size);
|
||||||
|
Loading…
Reference in New Issue
Block a user