[FFmpeg-devel] [PATCH] 8088flex TMV demuxer and decoder

Michael Niedermayer michaelni
Wed May 6 18:46:25 CEST 2009


On Wed, May 06, 2009 at 09:43:35AM -0500, Daniel Verkamp wrote:
> On Wed, May 6, 2009 at 7:34 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Wed, May 06, 2009 at 03:28:30AM -0500, Daniel Verkamp wrote:
> [...]
> >>
> >> New demuxer patch attached, which now sets the bitrate for video
> >> stream, resulting in correct automatic calculation of duration based
> >> on file size.
> >>
> >> Anything else needed for the demuxer? ?CGA data and decoder are
> >> already OK'd by Michael earlier in this thread.
> > [...]
> >> +typedef struct TMVContext {
> >> + ? ?unsigned audio_chunk_size;
> >
> >> + ? ?unsigned comp_method;
> >
> > could be a local var, so could others
> >
> 
> audio_chunk_size is needed in read_packet(); all other context vars
> that can be local have now been made so.
> 
> Also added:
> - a check to avoid dividing by zero when audio chunk size is 0
> - video_chunk_size var to replace hardcoded 2000s everywhere
> 
> > [...]
> > --
> > Michael ? ? GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> 
> Thanks,
> -- Daniel Verkamp

> From 50f0094cdb346c444b77b2a4c96fce249d88226b Mon Sep 17 00:00:00 2001
> From: Daniel Verkamp <daniel at drv.nu>
> Date: Fri, 24 Apr 2009 10:00:25 -0500
> Subject: [PATCH 3/3] 8088flex TMV demuxer
> 
> ---
>  libavformat/Makefile     |    1 +
>  libavformat/allformats.c |    1 +
>  libavformat/tmv.c        |  156 ++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 158 insertions(+), 0 deletions(-)

looks ok

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

Old school: Use the lowest level language in which you can solve the problem
            conveniently.
New school: Use the highest level language in which the latest supercomputer
            can solve the problem without the user falling asleep waiting.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090506/2bba1de9/attachment.pgp>



More information about the ffmpeg-devel mailing list