[FFmpeg-devel] [PATCH 6/6] src_buffer: move audio format change check in a separate function.

Michael Niedermayer michaelni at gmx.at
Mon Apr 30 15:11:04 CEST 2012


On Fri, Apr 27, 2012 at 09:48:10PM +0200, Nicolas George wrote:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  doc/examples/filtering_audio.c |    2 +-
>  libavfilter/src_buffer.c       |  153 ++++++++++++++++++++++-----------------
>  2 files changed, 87 insertions(+), 68 deletions(-)
> 
> diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c
> index 988dbfe..850e44a 100644
> --- a/doc/examples/filtering_audio.c
> +++ b/doc/examples/filtering_audio.c
> @@ -198,7 +198,7 @@ int main(int argc, char **argv)
>              av_free_packet(&packet);
>              if (ret < 0) {
>                  av_log(NULL, AV_LOG_ERROR, "Error decoding audio\n");
> -                break;
> +                continue;
>              }
>  
>              if (got_frame) {


this looks unrelated

otherwise the patch should be ok

thanks

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120430/c8672a99/attachment.asc>


More information about the ffmpeg-devel mailing list