Commit e81411e8 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '647d655d'

* commit '647d655d':
  rtmpproto: Consistently use the right prev_pkt array
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 7742edc0 647d655d
......@@ -403,7 +403,7 @@ static int read_connect(URLContext *s, RTMPContext *rt)
GetByteContext gbc;
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;
cp = pkt.data;
bytestream2_init(&gbc, cp, pkt.size);
......
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