On Mon, 15 Dec 2014 11:10:08 +0100
Thomas Volkert <[email protected]> wrote:
> + if (big_endian) {
> + id = ntohs(id);
> + codec->channels = ntohs(codec->channels);
> + codec->sample_rate = ntohl(codec->sample_rate);
> + codec->bit_rate = ntohl(codec->bit_rate / 8) * 8;
> + codec->block_align = ntohs(codec->block_align);
> + }
there are other ways of converting BE to LE than ntoh*
(sorry , i dont know which functions in ffmpeg do it, i am no
programmer)
-compn
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel