[mpeg2-dev] patch - compile code samples as part of the build

2008-10-06 Thread Michel Lespinasse
The attached patch makes sure code samples will get compiled when typing 'make'. This is both to test that they do compile, and to give easy access to the binaries for running them. -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. Index: Makefile.am ==

[mpeg2-dev] patch - code samples

2008-10-06 Thread Michel Lespinasse
The attached diff modifies the code samples as follows: * Allocate aligned buffers using mpeg2_malloc(), to avoid reimplementing this in the samples (and demonstrate usage - mpeg2_malloc() is public just so people can do this) * In a few places, remove the local 'sequence' variable and replac