[FFmpeg-devel] [PATCH] libavutil: increase struct SampleFmtInfo member 'name' length to 8
Michael Niedermayer
michaelni at gmx.at
Sat Dec 3 00:31:29 CET 2011
On Sat, Dec 03, 2011 at 12:10:56AM +0100, Giorgio Vazzana wrote:
> Hello,
>
> running 'ffmpeg -sample_fmts' I noticed there were strange characters
> after the sample format names:
>
> $ffmpeg -sample_fmts
> ffmpeg version N-35370-g1fd6924, Copyright (c) 2000-2011 the FFmpeg developers
> built on Dec 2 2011 22:52:51 with gcc 4.4.3
> configuration: --enable-gpl
> libavutil 51. 29. 1 / 51. 29. 1
> libavcodec 53. 39. 1 / 53. 39. 1
> libavformat 53. 24. 0 / 53. 24. 0
> libavdevice 53. 4. 0 / 53. 4. 0
> libavfilter 2. 50. 0 / 2. 50. 0
> libswscale 2. 1. 0 / 2. 1. 0
> libpostproc 51. 2. 0 / 51. 2. 0
> name depth
> u8 8
> s16 16
> s32 32
> flt 32
> dbl 64
> u8p 8
> s16p 16
> s32p 32
> fltp 32
> dblp@ 64
>
> This patch fixes the problem. Please comment.
it could be 5 instead of 8 but i see no advantage of 5 as it would
need 8 bytes due to alignment anyway on real systems thus
applied, thanks
[..]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111203/854b5d57/attachment.asc>
More information about the ffmpeg-devel
mailing list