[MPlayer-cvslog] r38476 - trunk/gui/util/bitmap.c
ib
subversion at mplayerhq.hu
Fri Apr 26 12:40:15 EEST 2024
Author: ib
Date: Fri Apr 26 12:40:15 2024
New Revision: 38476
Log:
Make cosmetic changes.
Modified:
trunk/gui/util/bitmap.c
Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c Fri Apr 26 12:36:22 2024 (r38475)
+++ trunk/gui/util/bitmap.c Fri Apr 26 12:40:15 2024 (r38476)
@@ -82,8 +82,8 @@ static int pngRead(const char *fname, gu
void *data;
int decode_ok, bpl;
AVCodecContext *avctx;
- AVFrame *frame;
AVPacket *pkt;
+ AVFrame *frame;
file = fopen(fname, "rb");
@@ -188,8 +188,8 @@ static int pngRead(const char *fname, gu
}
avcodec_send_packet(avctx, NULL); // flush the decoder
-
avcodec_close(avctx);
+
av_frame_free(&frame);
av_packet_free(&pkt);
avcodec_free_context(&avctx);
More information about the MPlayer-cvslog
mailing list