[FFmpeg-devel] [PATCH] nellymoser: better tag handling

Alex Beregszaszi alex
Wed Nov 14 16:34:56 CET 2007


On Wed, 2007-11-14 at 16:22 +0100, Benjamin Larsson wrote:
> Alex Beregszaszi wrote:
> > Hi,
> >
> > attached patch introduces a better tag handling. The decode block
> > function works on 64 byte blocks and does not cares about a sampling
> > rate variable. So it is an easier way to just feed it with every 64 byte
> > block we received. 
> >
> > Also the code warns if the feeded frame is not a multiple of 64 bytes.
> >
> > --
> > Alex
> >   
> 
> Hmm, I'm undecided. I don't like the idea of the possibility of the 
> decoder accepting all buffer sizes%64 as valid.

Here is a version which skips odd blocks.

--
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nellymoserdec-betterblock.diff
Type: text/x-patch
Size: 887 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20071114/5ce4753c/attachment.bin>



More information about the ffmpeg-devel mailing list