[FFmpeg-trac] #4170(ffmpeg:closed): ffmpeg is modifying shell memory?
FFmpeg
trac at avcodec.org
Wed Dec 10 11:28:00 CET 2014
#4170: ffmpeg is modifying shell memory?
-------------------------------------+-----------------------------------
Reporter: MisterE2002 | Owner:
Type: defect | Status: closed
Priority: normal | Component: ffmpeg
Version: unspecified | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
-------------------------------------+-----------------------------------
Changes (by Cigaes):
* analyzed: 0 => 1
* keywords: bash loop strange output =>
* status: new => closed
* component: undetermined => ffmpeg
* resolution: => invalid
Comment:
{{{ffmpeg}}} reads on its standard input, and in this script, the standard
input is connected to {{{echo "$list" |sort}}}; therefore, {{{ffmpeg}}} is
competing with {{{read file}}} for the output of {{{sort}}}.
By the way, I hope you realize that this script will break utterly when
certain special characters. If you can not do your task with a simple
{{{*.mp4}}}, then you should drop the shell and use a real language.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4170#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list