[FFmpeg-cvslog] Support new ALAC magic cookie in caf files.
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Nov 3 19:57:41 CET 2011
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> On Thu, Nov 03, 2011 at 02:43:49PM +0100, Carl Eugen Hoyos wrote:
> > + strcpy(st->codec->extradata, "\0\0\0\24alac");
>
> I can't see how strcpy can work with a string that start with 0.
I wonder what I tested;-)
What about memcpy(st->codec->extradata, "\0\0\0\24alac", 8);?
Carl Eugen
More information about the ffmpeg-cvslog
mailing list