diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-02-24 23:37:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-02-24 23:37:54 +0100 |
commit | 1c5d9dd2b73924c7f2bd19e87939c602c6fab713 (patch) | |
tree | f8ad003bb4564c2e0e1a1ad9f157e6cee55b2ebd /libavformat | |
parent | cf95877474ad8add55126db746f6818b47f71f37 (diff) | |
parent | 12251f997bbc0abb93be39c51021e6d404ca385f (diff) | |
download | ffmpeg-1c5d9dd2b73924c7f2bd19e87939c602c6fab713.tar.gz |
Merge commit '12251f997bbc0abb93be39c51021e6d404ca385f'
* commit '12251f997bbc0abb93be39c51021e6d404ca385f':
rtpdec: Remove unnecessary checks
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/rtpdec_h263_rfc2190.c | 2 | ||||
-rw-r--r-- | libavformat/rtpdec_latm.c | 2 |
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); |