[FFmpeg-devel] [PATCH] LPCM in MPEG-TS, v4.2
Diego Biurrun
diego
Fri Sep 4 15:21:41 CEST 2009
On Tue, Aug 25, 2009 at 06:42:08PM +0300, Christian P. Schmidt wrote:
> Embarrassing typo fixed.
There is still one left:
gcc -DHAVE_AV_CONFIG_H -I. -I"/var/tmp/diego/ffmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DDEBUG=1 -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -O3 -fno-math-errno -fno-tree-vectorize -MMD -MF libavcodec/pcm-mpeg.d -MT libavcodec/pcm-mpeg.o -c -o
libavcodec/pcm-mpeg.o libavcodec/pcm-mpeg.c
libavcodec/pcm-mpeg.c: In function `pcm_bluray_decode_frame':
libavcodec/pcm-mpeg.c:149: error: `num_samples' undeclared (first use in this function)
libavcodec/pcm-mpeg.c:149: error: (Each undeclared identifier is reported only once
libavcodec/pcm-mpeg.c:149: error: for each function it appears in.)
make: *** [libavcodec/pcm-mpeg.o] Error 1
> --- libavcodec/pcm-mpeg.c (revision 0)
> +++ libavcodec/pcm-mpeg.c (revision 0)
> @@ -0,0 +1,316 @@
> +
> + if(avctx->debug & FF_DEBUG_BITSTREAM)
> + dprintf(avctx,
> + "pcm_bluray_decode_frame: c: %d sc: %d s: %d in: %d ds: %d\n",
> + avctx->channels, num_source_channels, num_samples, buf_size,
> + *data_size);
num_samples is undeclared here. Of course, you need to compile with
-DDEBUG=1.
Diego
More information about the ffmpeg-devel
mailing list