[FFmpeg-devel] [PATCH 39/39] avcodec/mpegvideo: Inline values in ff_update_block_index()

Michael Niedermayer michael at niedermayer.cc
Fri Jul 29 01:02:05 EEST 2022


On Wed, Jul 27, 2022 at 12:08:14AM +0200, Andreas Rheinhardt wrote:
> This is possible for most of the callers, because e.g. only
> the MPEG-4 decoder can have bits_per_raw_sample > 8.
> Also most mpegvideo-based codecs are 420 only.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
>  libavcodec/h261dec.c       |  4 ++--
>  libavcodec/h261enc.c       |  2 +-
>  libavcodec/h263dec.c       |  3 ++-
>  libavcodec/mpeg4videodec.c |  6 ++++--
>  libavcodec/mpeg_er.c       |  3 ++-
>  libavcodec/mpegvideo.h     | 12 +++++++-----
>  libavcodec/mpegvideo_enc.c |  2 +-
>  libavcodec/rv10.c          |  2 +-
>  libavcodec/rv34.c          |  2 +-
>  libavcodec/vc1_block.c     | 17 ++++++++++++-----
>  10 files changed, 33 insertions(+), 20 deletions(-)

ok

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

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20220729/d08a1b99/attachment.sig>


More information about the ffmpeg-devel mailing list