comparison pcm.c @ 381:0d6178e4d503 libavcodec

* Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.
author philipjsg
date Tue, 14 May 2002 02:36:23 +0000
parents 19b6a1fa6f6d
children fce0a2520551
comparison
equal deleted inserted replaced
380:975aa6fe83b8 381:0d6178e4d503
236 break; 236 break;
237 default: 237 default:
238 return -1; 238 return -1;
239 } 239 }
240 avctx->key_frame = 1; 240 avctx->key_frame = 1;
241 avctx->frame_size = (dst - frame) / (sample_size * avctx->channels); 241 //avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
242 242
243 return dst - frame; 243 return dst - frame;
244 } 244 }
245 245
246 typedef struct PCMDecode { 246 typedef struct PCMDecode {