Hi,

On Fri, May 27, 2011 at 11:37 AM, Diego Biurrun <[email protected]> wrote:
> ---
>  libavformat/mpegts.c |   21 ++++++++++++---------
>  1 files changed, 12 insertions(+), 9 deletions(-)
>
> diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
> index 7c0f381..4c5f3e9 100644
> --- a/libavformat/mpegts.c
> +++ b/libavformat/mpegts.c
> @@ -36,6 +36,14 @@
>  #include "mpeg.h"
>  #include "isom.h"
>
> +
> +#ifdef DEBUG
> +#    define hex_dump_debug(class, buf, size) av_hex_dump_log(class, 
> AV_LOG_DEBUG, buf, size)
> +#else
> +#    define hex_dump_debug(class, buf, size)
> +#endif


That's a lot of newlines, and this looks useful for outside also, so
maybe place it in libavformat/internal.h? OK otherwise.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to