On Wed, Aug 1, 2012 at 6:09 PM, Derek Buitenhuis <derek.buitenh...@gmail.com> wrote: > On 01/08/2012 6:13 AM, Samuel Pitoiset wrote: >> --- >> libavformat/rtmpproto.c | 6 +++++- >> 1 file changed, 5 insertions(+), 1 deletion(-) > > Looks OK, but I have no idea where the magic numbers come from > for this or the lines following it. Perhaps you can add comments > in a separate patch?
0x02 is a magic number defined in the rtmp specification which indicates that data is string. I don't think a comment is needed here because it's already specified in the error message. -- Best regards, Samuel Pitoiset. _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel