On 01/08/2012 04:05 PM, Laurentiu Ion wrote:

> Fixes bug: #152
> ---
>  libavcodec/dpcm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/dpcm.c b/libavcodec/dpcm.c
> index cca2ed3..1b0f6b0 100644
> --- a/libavcodec/dpcm.c
> +++ b/libavcodec/dpcm.c
> @@ -288,7 +288,7 @@ static int dpcm_decode_frame(AVCodecContext *avctx, void 
> *data,
>      }
>      case CODEC_ID_SOL_DPCM:
>          if (avctx->codec_tag != 3) {
> -            uint8_t *output_samples_u8 = s->frame.data;
> +            uint8_t *output_samples_u8 = s->frame.data[0];
>              while (buf < buf_end) {
>                  uint8_t n = *buf++;
>  


patch needs to be squashed with your previous one. but the result of the
patch looks fine. i'll fix it locally and push.

Thanks,
Justin

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

Reply via email to