[FFmpeg-devel] [PATCH 5/6] dv: increase reading bits to 10

Michael Niedermayer michaelni at gmx.at
Sun Oct 26 23:37:06 CET 2014


On Sat, Oct 25, 2014 at 11:19:24AM +0000, Christophe Gisquet wrote:
> From 356 to 348 cycles.
> ---
>  libavcodec/dv.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/dv.h b/libavcodec/dv.h
> index 8a54cfe..3065806 100644
> --- a/libavcodec/dv.h
> +++ b/libavcodec/dv.h
> @@ -90,7 +90,7 @@ enum dv_pack_type {
>   */
>  #define DV_MAX_BPM 8
>  
> -#define TEX_VLC_BITS 9
> +#define TEX_VLC_BITS 10

this probably needs an update to these:

libavcodec/dv.c:RL_VLC_ELEM ff_dv_rl_vlc[1184];
libavcodec/dv.c:        av_assert1(dv_vlc.table_size == 1184);

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141026/18d183a5/attachment.asc>


More information about the ffmpeg-devel mailing list