On Tue, Nov 08, 2011 at 10:35:01AM -0500, Justin Ruggles wrote:
> this fixes a crash when switching audio channels if the spectrograph is
> displayed.
> ---
> avplay.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/avplay.c b/avplay.c
> index c67cc75..01c0f11 100644
> --- a/avplay.c
> +++ b/avplay.c
> @@ -2279,6 +2279,8 @@ static void stream_component_close(VideoState *is, int
> stream_index)
> if (is->rdft) {
> av_rdft_end(is->rdft);
> av_freep(&is->rdft_data);
> + is->rdft = NULL;
> + is->rdft_bits = 0;
> }
> break;
> case AVMEDIA_TYPE_VIDEO:
> --
looks OK
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel