1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavformat
Andreas Rheinhardt 99f505d2df avformat/icecast: Free the right buffer on error
In case an AVBPrint was not complete, icecast_open() would free some
buffers that have not been allocated yet instead of freeing the data of
the AVBPrint (if they have been allocated). Because this error does not
trigger a jump to the general cleanup section any more, one can moreover
remove a (now unnecessary) initialization of a pointer.

Furthermore, finalizing an AVBPrint can fail (namely when the string
inside the AVBPrint has not been allocated yet) and so this needs to be
checked.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-19 23:35:09 +01:00
..
2019-12-12 19:25:33 +01:00
2016-07-03 04:37:48 +02:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-11-29 19:58:35 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2017-09-20 03:31:48 +02:00
2019-12-12 19:25:33 +01:00
2019-08-13 15:38:57 +02:00
2017-09-01 18:52:56 +08:00
2019-12-10 16:09:14 +01:00
2019-12-12 19:25:33 +01:00
2019-10-29 16:20:33 +01:00
2019-12-12 19:25:33 +01:00
2019-03-20 18:38:48 +01:00
2019-12-12 19:25:33 +01:00
2019-05-20 11:58:12 -07:00
2019-10-24 19:45:17 +02:00
2019-12-11 16:24:16 +01:00
2019-09-02 23:08:43 +02:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:47:16 +08:00
2019-12-12 12:36:13 -03:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2019-05-20 11:58:12 -07:00
2019-09-27 12:15:50 +02:00
2019-12-12 19:25:33 +01:00
2019-09-02 23:08:43 +02:00
2018-02-11 20:03:33 +01:00
2018-02-11 20:03:33 +01:00
2019-11-27 23:54:20 +01:00
2019-12-12 19:25:33 +01:00
2017-04-25 15:39:10 +02:00
2019-12-12 19:25:33 +01:00
2018-05-21 19:43:04 -03:00
2018-05-21 19:43:04 -03:00
2019-03-20 18:38:48 +01:00
2017-01-30 11:00:58 +01:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00
2016-05-03 15:45:10 +02:00
2019-12-12 19:25:33 +01:00
2019-10-08 13:46:42 +08:00
2019-06-14 21:36:39 +02:00
2019-12-12 19:25:33 +01:00
2019-12-12 19:25:33 +01:00