Liberalize the YUV4MPEG frame header parsing. The spec allows for some informational tags separated by spaces between the 'FRAME' magic and the '\n'. Also ffmpeg apparently always inserts a space based on incorrect documentation shipped with the mjpegtools, so we need to handle that.
Liberalize the YUV4MPEG frame header parsing. The spec allows for some
informational tags separated by spaces between the 'FRAME' magic and the
'\n'. Also ffmpeg apparently always inserts a space based on incorrect
documentation shipped with the mjpegtools, so we need to handle that.

This code just scans for the first newline within 79 bytes of the magic
string, ignoring anything in between. According the mjpegtools source,
the maximum allowed header line is 256 bytes, but I stuck with the more
conservative value monty used for the file header.


git-svn-id: 8dbf393e6e9ab8d4979d29f9a341a98016792aa6@4948 0101bb08-14d6-0310-b084-bc0e0c8e3800

Distrotech/libtheora,KTXSoftware/theora,Distrotech/libtheora,KTXSoftware/theora,KTXSoftware/theora,Distrotech/libtheora,Distrotech/libtheora,Distrotech/libtheora,KTXSoftware/theora,KTXSoftware/theora