Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
e58c006b
Commit
e58c006b
authored
Jul 16, 2020
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HLSOutputStream: fix comment, move av_err2str from hh to cc file
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
48790a6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
hlsoutputstream.cc
src/hlsoutputstream.cc
+4
-2
hlsoutputstream.hh
src/hlsoutputstream.hh
+0
-2
No files found.
src/hlsoutputstream.cc
View file @
e58c006b
...
...
@@ -17,6 +17,9 @@
#include "hlsoutputstream.hh"
#undef av_err2str
#define av_err2str(errnum) av_make_error_string((char*)__builtin_alloca(AV_ERROR_MAX_STRING_SIZE), AV_ERROR_MAX_STRING_SIZE, errnum)
/* HLSOutputStream is based on code from ffmpeg: doc/examples/muxing.c */
/*
...
...
@@ -208,8 +211,7 @@ HLSOutputStream::open_audio (AVCodec *codec, AVDictionary *opt_arg)
return
Error
::
Code
::
NONE
;
}
/* Prepare a 16 bit dummy audio frame of 'frame_size' samples and
* 'nb_channels' channels. */
/* fill audio frame with samples from AudioBuffer */
AVFrame
*
HLSOutputStream
::
get_audio_frame
()
{
...
...
src/hlsoutputstream.hh
View file @
e58c006b
...
...
@@ -29,8 +29,6 @@ extern "C" {
#include <libswresample/swresample.h>
#include <libavutil/avassert.h>
#include <libavutil/timestamp.h>
#undef av_err2str
#define av_err2str(errnum) av_make_error_string((char*)__builtin_alloca(AV_ERROR_MAX_STRING_SIZE), AV_ERROR_MAX_STRING_SIZE, errnum)
}
class
HLSOutputStream
:
public
AudioOutputStream
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment