[FFmpeg-cvslog] openal-dec: replace av_destruct_packet with av_free_packet

Andreas Cadhalpun git at videolan.org
Sat Aug 22 19:16:27 CEST 2015


ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sat Aug  8 10:41:31 2015 +0200| [9acf5341d6a6d2e91f3dda25a3ead476a54f9b55] | committer: Andreas Cadhalpun

openal-dec: replace av_destruct_packet with av_free_packet

Reviewed-by: wm4 <nfxjfg at googlemail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9acf5341d6a6d2e91f3dda25a3ead476a54f9b55
---

 libavdevice/openal-dec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/openal-dec.c b/libavdevice/openal-dec.c
index b552158..cab1eb6 100644
--- a/libavdevice/openal-dec.c
+++ b/libavdevice/openal-dec.c
@@ -204,7 +204,7 @@ static int read_packet(AVFormatContext* ctx, AVPacket *pkt)
 fail:
     /* Handle failure */
     if (pkt->data)
-        av_destruct_packet(pkt);
+        av_free_packet(pkt);
     if (error_msg)
         av_log(ctx, AV_LOG_ERROR, "Error: %s\n", error_msg);
     return error;



More information about the ffmpeg-cvslog mailing list