# HG changeset patch # User ramiro # Date 1276499159 0 # Node ID c34ed49b26c6883771237cf5ae80fa4725c78048 # Parent f9967eb0abfd21f07b1be550f6cdd68c53be51af output-example: Set sample_fmt to SAMPLE_FMT_S16. diff -r f9967eb0abfd -r c34ed49b26c6 output-example.c --- a/output-example.c Fri Jun 11 17:16:43 2010 +0000 +++ b/output-example.c Mon Jun 14 07:05:59 2010 +0000 @@ -68,6 +68,7 @@ c->codec_type = AVMEDIA_TYPE_AUDIO; /* put sample parameters */ + c->sample_fmt = SAMPLE_FMT_S16; c->bit_rate = 64000; c->sample_rate = 44100; c->channels = 2;