diff options
author | Andreas Rheinhardt <[email protected]> | 2020-09-18 23:50:53 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-02-27 07:20:59 +0100 |
commit | 9ec9fc351e667b108b5b5bafab04152b4a47638c (patch) | |
tree | 96827724a8e17b4d5f0427a3836ee67128f49ab6 /libavformat/rtpenc_xiph.c | |
parent | c0aa40d3344670a65f159121afbac01ae4ebe92f (diff) |
avformat/dashdec: Remove dead code
The code in question seems to have been copied from about 70 lines
above; yet the code here is only executed if some of the variables
(namely representation_segmenttemplate_node and fragment_template_node)
are NULL, so it makes no sense to check them for a child element.
Also remove a redundant resetting of a pointer to an AVFormatContext
after avformat_close_input() (which already sets the pointer to NULL).
Reviewed-by: Steven Liu <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit 248ef276beb8222bc2610484b830420e1a306d8b)
Diffstat (limited to 'libavformat/rtpenc_xiph.c')
0 files changed, 0 insertions, 0 deletions