author | Amarinder Bindra <a-bindra@ti.com> | |
Wed, 9 Apr 2014 10:33:21 +0000 (16:03 +0530) | ||
committer | Amarinder Bindra <a-bindra@ti.com> | |
Wed, 9 Apr 2014 16:47:54 +0000 (22:17 +0530) | ||
commit | 64e4e389dd8be4947c107a057f34556a4280281a | |
tree | 3ece17ce1ff7bb306459e999d606c1e68bcaf674 | tree | snapshot (tar.xz tar.gz zip) |
parent | e4b05671278ef19451c147c9c60f30d5ed3156aa | commit | diff |
viddec3test: Fix for double free corruption error for dual decode-display usecase
Changed the elementary stream descriptor from global to include the
information in the demux structure as for dual decode usecase, the global
variable is overwritten by the second file and results in the memory free
corruption.
The esds data (elementary stream descriptor) is required by the mpeg4 streams
only, so removing the call that introduces delay in reading the file for other
types of streams like h264, etc.
Signed-off-by: Amarinder Bindra <a-bindra@ti.com>
Changed the elementary stream descriptor from global to include the
information in the demux structure as for dual decode usecase, the global
variable is overwritten by the second file and results in the memory free
corruption.
The esds data (elementary stream descriptor) is required by the mpeg4 streams
only, so removing the call that introduces delay in reading the file for other
types of streams like h264, etc.
Signed-off-by: Amarinder Bindra <a-bindra@ti.com>
util/demux.c | diff | blob | history | |
util/demux.h | diff | blob | history |