ffmpeg | branch: master | Andreas Cadhalpun <[email protected]> 
| 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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>

> 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;

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to