[MPlayer-dev-eng] [PATCH] Support asf aspect ratio

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 3 15:42:39 CET 2006


Hello,
On Sun, Dec 03, 2006 at 03:40:12PM +0100, Reimar D?ffinger wrote:
> On Sun, Dec 03, 2006 at 10:21:09PM +0800, Zuxy Meng wrote:
> > 2006/12/3, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> > >On Sun, Dec 03, 2006 at 09:58:28PM +0800, Zuxy Meng wrote:
> > >>  ////////////////////////
> > >> +// ASF Metadata Record
> > >> +////////////////////////
> > >> +typedef struct __attribute__((packed)) {
> > >
> > >I know the existing code does that, but please avoid that
> > >__attribute__((packed)), direct reading into memory etc. crap in new
> > >code, this is a horrible and non-portable coding style.
> > >
> > 
> > Where can I find examples of the correct way for handling this?
> 
> Any file in libavformat. demux_mkv etc. should be fine, too.

Also stream/stream.h stream_read_* functions.



More information about the MPlayer-dev-eng mailing list