Commit 9349fdd9 authored by michael's avatar michael

more data_size=0 cleanup


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3147 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b6a805da
......@@ -163,8 +163,6 @@ static int decode_frame(AVCodecContext *avctx,
AVFrame * const p= (AVFrame*)&a->picture;
int i;
*data_size = 0;
/* special case for last picture */
if (buf_size == 0) {
return 0;
......
......@@ -334,7 +334,6 @@ static int pcm_decode_frame(AVCodecContext *avctx,
}
break;
default:
*data_size = 0;
return -1;
}
*data_size = (uint8_t *)samples - (uint8_t *)data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment