Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/rtpdec_h263_rfc2190.c2
-rw-r--r--libavformat/rtpdec_latm.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/rtpdec_h263_rfc2190.c b/libavformat/rtpdec_h263_rfc2190.c
index c9b27a871a..1800a261ed 100644
--- a/libavformat/rtpdec_h263_rfc2190.c
+++ b/libavformat/rtpdec_h263_rfc2190.c
@@ -41,8 +41,6 @@ struct PayloadContext {
static void h263_free_context(PayloadContext *data)
{
- if (!data)
- return;
if (data->buf) {
uint8_t *p;
avio_close_dyn_buf(data->buf, &p);
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c
index 9bc203410f..8527bff6f8 100644
--- a/libavformat/rtpdec_latm.c
+++ b/libavformat/rtpdec_latm.c
@@ -33,8 +33,6 @@ struct PayloadContext {
static void latm_free_context(PayloadContext *data)
{
- if (!data)
- return;
if (data->dyn_buf) {
uint8_t *p;
avio_close_dyn_buf(data->dyn_buf, &p);