[FFmpeg-trac] #3557(swresample:new): bug when resampling stereo to stereo

FFmpeg trac at avcodec.org
Mon Apr 14 15:05:22 CEST 2014

#3557: bug when resampling stereo to stereo
             Reporter:  olegog       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  swresample
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0

Comment (by olegog):

 I found a bug in my program.

 fwrite(  (short *)buffer, sizeof(short), (size_t)numSamplesOut, fout);
 fwrite(  (short *)buffer, sizeof(short),
 (size_t)numSamplesOut*frame->channels, fout);

 ffmpeg has no errors.
 topic can be closed.

Ticket URL: <https://trac.ffmpeg.org/ticket/3557#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list