[FFmpeg-devel] [PATCH] libavformat/dv : read dv audio as BE

Александр Слободенюк alexander.slobodeniuk at bramtech.ru
Tue Aug 29 12:31:37 EEST 2017


sending patch with bumped micro version.

> 2017-08-28 18:42 GMT+02:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>> 2017-08-28 18:22 GMT+02:00 Александр Слободенюк
>> <alexander.slobodeniuk at bramtech.ru>:
>>> Fixing the FIXME issue, where BE audio inside the dv codec reads as LE
>>> after swapping it's bytes. It's was not very clear, because if we read
>>> it on BE machine we'll swap it twice.
>>
>>> -static int dv_extract_audio(const uint8_t *frame, uint8_t **ppcm,
>>> +static int dv_extract_audio(const uint8_t *frame, uint16_t **ppcm,
>>
>> Is this change necessary?

> It is necessary, the cast should be unnecessary though.

> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



-- 
С уважением,
 Александр                          mailto:alexander.slobodeniuk at bramtech.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavformat-dv-read-dv-audio-as-BE.patch
Type: application/octet-stream
Size: 4331 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170829/f8fb8269/attachment.obj>


More information about the ffmpeg-devel mailing list