-
Notifications
You must be signed in to change notification settings - Fork 11.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure: allow the gas-preprocessor to be called with an absolute path... #14
Closed
FlyingRat
wants to merge
1
commit into
FFmpeg:master
from
FlyingRat:allow-calling-the-gas-preprocessor-with-an-absolute-path
Closed
configure: allow the gas-preprocessor to be called with an absolute path... #14
FlyingRat
wants to merge
1
commit into
FFmpeg:master
from
FlyingRat:allow-calling-the-gas-preprocessor-with-an-absolute-path
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ath. Allow the configure tool to call the gas-preprocessor with an absolute path when included with either the "--as" or with a separate "--gas" option. The patch is backward compatible and will not break any current configuration setups. The new behavior that comes with this option can be utilized in the following ways: Examples: - Just as single option that includes both the gas-preprocessor.pl and cc/as at the same time: $ configure --as="/opt/app/build-tools/gas-preprocessor.pl \ /Applications/Xcode.app/.../Developer/usr/bin/gcc" - Call gas-preprocessor with a separate option in conjunction with --as: $ configure --gas="/opt/app/build-tools/gas-preprocessor.pl" \ --as="/Applications/Xcode.app/.../Developer/usr/bin/gcc" - Address only the the gas-preprocessor and it will automatically fall back to as or cc whichever that's defined: $ configure --gas="/opt/app/build-tools/gas-preprocessor.pl" - Or if no gas-preprocessor.pl is explicitly defined, it falls back to the old behaivor.
patch applied |
TimothyGu
pushed a commit
that referenced
this pull request
Dec 9, 2021
…ion parameter If memory allocation fails, ERROR(ENOMEM) '-12' will be returned. When resample() is done first, the negative size param would cause buffer-overflow and SEGV in swri_rematrix(). When swri_rematrix() is run first, resample() would not cause an error but Err num as a wrong parameter passing. Err num should be returned immediately. And remove an unneeded term from an assert. coredump info: #0 0x499517 in posix_memalign (/home/r1/ffmpeg/ffmpeg_4.4.1+0x499517) #1 0x6c1f0b4 in av_malloc /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavutil/mem.c:86:9 #2 0x6c208fe in av_mallocz /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavutil/mem.c:239:17 #3 0x6c207ad in av_mallocz_array /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavutil/mem.c:195:12 #4 0x654b2e5 in swri_realloc_audio /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libswresample/swresample.c:418:14 #5 0x654f9a1 in swr_convert_internal /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libswresample/swresample.c:601:17 #6 0x654d2c0 in swr_convert /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libswresample/swresample.c:766:19 #7 0x186cf56 in flush_frame /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/af_aresample.c:251:13 #8 0x186a454 in request_frame /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/af_aresample.c:288:20 #9 0x787d9c in ff_request_frame_to_filter /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfilter.c:459:15 #10 0x7877f1 in forward_status_change /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfilter.c:1257:19 #11 0x77ed7e in ff_filter_activate_default /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfilter.c:1288:20 #12 0x77e4e1 in ff_filter_activate /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfilter.c:1441:11 #13 0x793b3f in ff_filter_graph_run_once /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfiltergraph.c:1403:12 #14 0x7a7bee in get_frame_internal /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/buffersink.c:131:19 #15 0x7a7287 in av_buffersink_get_frame_flags /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/buffersink.c:142:12 #16 0x792888 in avfilter_graph_request_oldest /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/libavfilter/avfiltergraph.c:1356:17 #17 0x5d07df in transcode_from_filter /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/fftools/ffmpeg.c:4639:11 #18 0x59e557 in transcode_step /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/fftools/ffmpeg.c:4729:20 #19 0x593970 in transcode /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/fftools/ffmpeg.c:4805:15 #20 0x58f7a4 in main /home/r1/ffmpeg/ffmpeg-4.4.1/build/src/fftools/ffmpeg.c:5010:9 #21 0x7f6fd2dee0b2 in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:308:16 SUMMARY: AddressSanitizer: negative-size-param (/home/r1/ffmpeg/ffmpeg_4.4.1+0x497e67) in __asan_memcpy Reported-by: TOTE Robot <oslab@tsinghua.edu.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Clazex
pushed a commit
to Clazex/FFmpeg.Build
that referenced
this pull request
Feb 2, 2023
Because of confusing due to API changes. Co-authored-by: jeromewu <jeromewus@gmail.com>
eliteprox
pushed a commit
to eliteprox/FFmpeg-netint-livepeer
that referenced
this pull request
Mar 11, 2023
eliteprox
pushed a commit
to eliteprox/FFmpeg-netint-livepeer
that referenced
this pull request
Nov 8, 2023
eliteprox
pushed a commit
to eliteprox/FFmpeg-netint-livepeer
that referenced
this pull request
Nov 8, 2023
thomshutt
pushed a commit
to livepeer/FFmpeg-6.1.1
that referenced
this pull request
Mar 7, 2024
Leask
pushed a commit
to kalos-ai/FFmpeg-GLTransitions
that referenced
this pull request
Mar 26, 2024
Create squeeze.glsl
nvanderzwet-ssimwave
pushed a commit
to ssimwave/FFmpeg-clean
that referenced
this pull request
Apr 17, 2024
…propriate stream_types and only if the tag matches (FFmpeg#14)
nvanderzwet-ssimwave
pushed a commit
to ssimwave/FFmpeg-clean
that referenced
this pull request
Apr 17, 2024
… for the appropriate stream_types and only if the tag matches (FFmpeg#14)
nvanderzwet-ssimwave
pushed a commit
to ssimwave/FFmpeg-clean
that referenced
this pull request
Apr 17, 2024
… for the appropriate stream_types and only if the tag matches (FFmpeg#14)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
....
Allow the configure tool to call the gas-preprocessor with an absolute
path when included with either the "--as" or with a separate "--gas"
option. The patch is backward compatible and will not break any current
configuration setups.
The new behavior that comes with this option can be utilized in the
following ways:
Examples:
Just as single option that includes both the gas-preprocessor.pl and
cc/as at the same time:
$ configure --as="/opt/app/build-tools/gas-preprocessor.pl
/Applications/Xcode.app/.../Developer/usr/bin/gcc"
Call gas-preprocessor with a separate option in conjunction with --as:
$ configure --gas="/opt/app/build-tools/gas-preprocessor.pl"
--as="/Applications/Xcode.app/.../Developer/usr/bin/gcc"
Address only the the gas-preprocessor and it will automatically fall
back to as or cc whichever that's defined:
$ configure --gas="/opt/app/build-tools/gas-preprocessor.pl"
Or if no gas-preprocessor.pl is explicitly defined, it falls back to
the old behaivor.