mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Update code style
Limit source code to 80 chars, and declare functions return type and modifiers on a separate line. This allows to avoid very long lines, and all function names are aligned. (We do this on VLC, and I like it.)
This commit is contained in:
parent
b2fe005498
commit
aeda583a2c
45 changed files with 813 additions and 409 deletions
|
|
@ -11,12 +11,19 @@ struct decoder {
|
|||
AVCodecContext *codec_ctx;
|
||||
};
|
||||
|
||||
void decoder_init(struct decoder *decoder, struct video_buffer *vb);
|
||||
void
|
||||
decoder_init(struct decoder *decoder, struct video_buffer *vb);
|
||||
|
||||
SDL_bool decoder_open(struct decoder *decoder, AVCodec *codec);
|
||||
void decoder_close(struct decoder *decoder);
|
||||
SDL_bool
|
||||
decoder_open(struct decoder *decoder, AVCodec *codec);
|
||||
|
||||
SDL_bool decoder_push(struct decoder *decoder, AVPacket *packet);
|
||||
void decoder_interrupt(struct decoder *decoder);
|
||||
void
|
||||
decoder_close(struct decoder *decoder);
|
||||
|
||||
SDL_bool
|
||||
decoder_push(struct decoder *decoder, AVPacket *packet);
|
||||
|
||||
void
|
||||
decoder_interrupt(struct decoder *decoder);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue