[FFmpeg-devel] parser migration questions

Michael Niedermayer michaelni
Sun May 6 20:29:10 CEST 2007


On Sun, May 06, 2007 at 08:03:51PM +0200, Diego Biurrun wrote:
> On Sun, May 06, 2007 at 07:55:08PM +0200, Michael Niedermayer wrote:
> > 
> > On Sun, May 06, 2007 at 12:07:53PM +0200, Diego Biurrun wrote:
> > > I'm working on moving a few more of the parsers to separate files,
> > > namely H.263, H.264.  The problem is that these parsers depend on
> > > functions from the decoders.  My plan is to move these to a common file.
> > > For H.264 this means moving h264.c to h264dec.c and creating h264.c and
> > > h264.h.  OK to proceed?  
> > 
> > what about moving these functions to h264_parser.c?
> The problem is that the decoder will depend on the parser at compiletime
> then.  IIUC the decoder depends on the parser at runtime anyway, so this
> might not be an issue.


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070506/91c04105/attachment.pgp>

More information about the ffmpeg-devel mailing list