#3107: Problem using muxing example -------------------------------------+------------------------------------- Reporter: ahsan | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+-------------------------------------
Comment (by easonic): I guess you need to modify the '''/* create resampler context */''' one to get the resampler context; I made the '''if (c->sample_fmt == AV_SAMPLE_FMT_S16)''' change for the audio~ Replying to [comment:3 ahsan]: > Thx Easonic! > > In my case audio_codec->sample_fmt is already set to AV_SAMPLE_FMT_S16 and i get this error > -- Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/3107#comment:4> FFmpeg <http://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://avcodec.org/mailman/listinfo/ffmpeg-trac